$(function(){
    $('#a3').children("a").mouseenter(function(){
        $(this).children('span').css({"border-bottom":"3px solid #f00"})
    })
    $('#a3').children("a").mouseleave(function(){
        $(this).children('span').css({"border-bottom":"0"})
    })
})

$(function(){
        $.ajax({
            url:'https://mock.presstime.cn/mock/629f3f011a23490028bcb324/example_copy/huxiu',
            type:'get',
            dataType:"json",
            success:function(res){
                $.each(res,function(index,data){
                    $('#d3').append("<div><a href='#' class='bb'>"+data.bb+"</a></div>")
                })
            }
        })
})

